package com.prs.crm.domain.cdxh;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import com.prs.crm.domain.BaseEntity;

/**
 * 新发生计划明细Bean
 * 
 * @author 兰小刚
 * @version 创建时间：2010-12-02 下午13:09:28 类说明
 */
@Entity
@Table(name = "cdxh_NewPlanOrderdetail")
public class NewPlanOrderDetail extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;

	@ManyToOne
	private NewPlanOrder newPlanOrder;

	/**
	 * 产品编号
	 */
	private String productCode;

	/**
	 * 产品名称
	 */
	private String productName;

	/**
	 * 产品规格
	 */
	private String productNorm;

	/**
	 * 产品颜色
	 */
	private String productColor;

	/**
	 * 产品包装方式
	 */
	private String productPaceStyle;

	/**
	 * 数量
	 */
	private int productNum;

	/**
	 * 单位
	 */
	private String productUnit;

	/**
	 * 单价
	 */
	private Double priceUnit;

	/**
	 * 小计（元）
	 */
	private Double subtotal;
	/**
	 * 生产状态
	 * @return
	 */
	private String statets;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public NewPlanOrder getNewPlanOrder() {
		return newPlanOrder;
	}

	public void setNewPlanOrder(NewPlanOrder newPlanOrder) {
		this.newPlanOrder = newPlanOrder;
	}

	public String getProductCode() {
		return productCode;
	}

	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getProductNorm() {
		return productNorm;
	}

	public void setProductNorm(String productNorm) {
		this.productNorm = productNorm;
	}

	public String getProductColor() {
		return productColor;
	}

	public void setProductColor(String productColor) {
		this.productColor = productColor;
	}

	public String getProductPaceStyle() {
		return productPaceStyle;
	}

	public void setProductPaceStyle(String productPaceStyle) {
		this.productPaceStyle = productPaceStyle;
	}

	public int getProductNum() {
		return productNum;
	}

	public void setProductNum(int productNum) {
		this.productNum = productNum;
	}

	public String getProductUnit() {
		return productUnit;
	}

	public void setProductUnit(String productUnit) {
		this.productUnit = productUnit;
	}

	public Double getPriceUnit() {
		return priceUnit;
	}

	public void setPriceUnit(Double priceUnit) {
		this.priceUnit = priceUnit;
	}

	public Double getSubtotal() {
		return subtotal;
	}

	public void setSubtotal(Double subtotal) {
		this.subtotal = subtotal;
	}

	public String getStatets() {
		return statets;
	}

	public void setStatets(String statets) {
		this.statets = statets;
	}

}
